<?php
    include_once('connect.php');
    $db = new connect;
    $pro_id = $_POST['pro_id'];
    $sql = "DELETE FROM product
            WHERE pro_id = ".$pro_id;
    $result = mysql_query($sql);
    if($result == 1){
        echo($mesager = 1);
    }
    else{
        echo($mesager = 0);
    }
?>